Repository navigation
Document the WSL setup and skip Roslyn without .NET - #20
Merged
Merged
Conversation
The config also runs in WSL (Ubuntu 24.04), but nothing recorded how it's installed there. The README now covers it: Neovim from Homebrew, the config as a clone in ~/.config/nvim, the tools it needs, and the win32yank clipboard. Mason installs Roslyn with `dotnet tool`, so on a machine without .NET (WSL without C#) mason-tool-installer reported "roslyn-language-server: failed to install" on every start. Only install it when dotnet is on PATH. The pinned Roslyn is a .NET 10 tool (net10.0, RID-specific package), so the README now asks for the .NET 10 SDK. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The config also runs in WSL (Ubuntu 24.04), but nothing recorded how it's installed there.
Changes
README: new WSL section covering how it's set up there:
PATHbybrew shellenvin~/.bashrc.~/.config/nvim. Update it withgit pull+:Lazy restore.win32yank.exefrom the Windows Neovim install.It also notes that the smoke test runs the same way there. The C# requirement now says the .NET 10 SDK: the pinned Roslyn (
5.13.0-1.26514.10) is a RID-specificdotnet tooltargetingnet10.0.lazy/lsp/mason.lua: installroslyn-language-serveronly whendotnetis onPATH, using mason-tool-installer's per-toolcondition. Mason installs it withdotnet tool, so on a machine without .NET it reported "roslyn-language-server: failed to install" on every start. Wheredotnetexists (Windows, CI) nothing changes.Testing
In WSL (Ubuntu 24.04, Neovim 0.12.6), on an LF copy of this branch:
stylua --check .with StyLua 2.3.0: clean.nvim --headless --cmd "luafile tests/smoke.lua":smoke: OK. Withoutdotnetit makes no Roslyn install attempt.dotnetonPATH, mason-tool-installer still tries to install Roslyn (updating to 5.13.0-1.26514.10), so the condition only skips machines without .NET.lua_ls,gopls,ts_ls,rust-analyzer). The clipboard provider resolves towin32yank.